﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mapping = BomberManServer.Gaming.Object.Mapping;

namespace BomberManServer.Gaming.Object.Mapping.Model.States
{
    public class Slab : State
    {
        private Mapping.Trap trap;
        public Slab(Mapping.Trap trap)
        {
            this.trap = trap;
        }

        public override Mapping.Block build(Mapping.Block block)
        {
            Mapping.Slab slab = new Mapping.Slab(block,trap);
            return slab;
        }
    }
}
